<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="/static/abe.css">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <div>
        <p>Hash: {{ info['hash'] }}</p>
        <p>高度： {{ info['height'] }}</p>
        <p>版本： {{ info['version'] }}</p>
        <p>交易merkleroot： {{ info['merkleroot'] }}</p>
        <p>时间： {{ info['time'] }}</p>
        <p>难度: {{ info['difficulty'] }}</p>
        <p>Nonce: {{ info['nonce'] }}</p>
        <p>交易: {{ trade_count }}</p>
    </div>
    <div>
        <p><h1>交易</h1></p>
        <table border="1">
            <tr>
                <th>交易</th>
                <th>版本</th>
                <th>大约生成时间</th>
            </tr>
            {% for item in trades %}
            <tr>
                <td><a href="/q/gettradebytxhash/{{item['tx_hash']}}">{{item['tx_hash']}}</a></td>
                <td>{{ item['tx_version'] }}</td>
                <td>{{ item['tx_locktime'] }}</td>
            </tr>
            {% end %}

        </table>
    </div>

</body>
</html>